/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import React from 'react';
import HeaderSearch from '@/components/HeaderSearch';
import { MenuDataItem } from '@ant-design/pro-layout';

interface GlobalHeaderRightProps {
  menuData?: MenuDataItem[];
}

const GlobalHeaderRight: React.FC<GlobalHeaderRightProps> = (props) => {
  const { menuData } = props;

  return (
    <div>
      <HeaderSearch menuData={menuData} />
    </div>
  );
};

export default GlobalHeaderRight;
